package com.bjg.wcl.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bjg.wcl.mysql.mapper.FmcsDevicePointMapper;
import com.bjg.wcl.pojo.FmcsDevicePoint;
import com.bjg.wcl.pojo.ret.DevicePointSearchRet;
import com.bjg.wcl.service.FmcsDevicePointService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
@Slf4j
public class FmcsDevicePointServcieImpl extends ServiceImpl<FmcsDevicePointMapper, FmcsDevicePoint> implements FmcsDevicePointService {

    @Resource
    FmcsDevicePointMapper fmcsDevicePointMapper;

    @Override
    public List<DevicePointSearchRet> searchDeviceWithPoint() {
        return fmcsDevicePointMapper.selectDeviceWithPoint();
    }
}
